//
//  SEGUserInfoModel.m
//  SEGUhomePropertyBaseService
//
//  Created by 揭婧雯 on 2018/8/28.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGUserInfoModel.h"

@implementation SEGUserInfoModel
- (void)setHouseRelation:(NSString *)houseRelation
{
    _houseRelation = houseRelation;
    //1000 业主 1001 业主成员 2000 租户 2001租户成员
    NSInteger relation = [houseRelation integerValue];
    if (relation == 1000) {
        _userTypeString = @"业主";
    }else if (relation == 1001) {
        _userTypeString = @"业主成员";
    }else if (relation == 2000) {
        _userTypeString = @"租户";
    }else if (relation == 2001) {
        _userTypeString = @"租户成员";
    }
}
@end
